package com.sifang.service.impl;

import com.sifang.dao.SortDao;
import com.sifang.domain.Sort;
import com.sifang.service.ISortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SortServiceImpl implements ISortService {

    @Autowired
    private SortDao sortDao;

    //获取分类列表
    @Override
    public List<Sort> list() {
        return sortDao.list();
    }
}
